#!/bin/bash
mkdir /home/taiga/logs
yum install -y nginx
cp conf/taiga.conf /etc/nginx/conf.d/
sed -i '/user/s/nginx/taiga/' /etc/nginx/nginx.conf
sed -i 's/default_server//' /etc/nginx/nginx.conf
service nginx start

